package com.integralPerformance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.integralPerformance.pojo.entity.ApplicationRecodes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.integralPerformance.pojo.query.ApplicationRecodeQuery;
import com.integralPerformance.pojo.query.ApplicationRecodeTeacherQuery;
import com.integralPerformance.pojo.vo.ApplicationRecodesVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author admin
* @description 针对表【application_recodes(岗位申请管理表)】的数据库操作Mapper
* @createDate 2024-04-03 21:42:22
* @Entity com.integralPerformance.pojo.entity.ApplicationRecodes
*/
@Mapper
public interface ApplicationRecodesMapper extends BaseMapper<ApplicationRecodes> {

    Page<ApplicationRecodesVo> getList(Page<ApplicationRecodesVo> page, @Param("qu") ApplicationRecodeQuery applicationRecodeQuery);

    Page<ApplicationRecodesVo> getByTeacherId(Page<ApplicationRecodesVo> page, @Param("qu")ApplicationRecodeTeacherQuery applicationRecodeTeacherQuery, @Param("teacherId")String teacherId);

    void agreeByIds(List<Integer> list);

    void disagreeByIds(List<Integer> list);
}




